<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ThunarChooserDialog: Thunar Internal Functions Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Thunar Internal Functions Reference Manual">
<link rel="up" href="ch11.html" title="Chooser">
<link rel="prev" href="ThunarEmblemChooser.html" title="ThunarEmblemChooser">
<link rel="next" href="ThunarPermissionsChooser.html" title="ThunarPermissionsChooser">
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#ThunarChooserDialog.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#ThunarChooserDialog.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties">  <span class="dim">|</span> 
                  <a href="#ThunarChooserDialog.properties" class="shortcut">Properties</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch11.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ThunarEmblemChooser.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ThunarPermissionsChooser.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="ThunarChooserDialog"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="ThunarChooserDialog.top_of_page"></a>ThunarChooserDialog</span></h2>
<p>ThunarChooserDialog</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="ThunarChooserDialog.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_proto_type">
<col class="functions_proto_name">
</colgroup>
<tbody><tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="ThunarChooserDialog.html#thunar-show-chooser-dialog" title="thunar_show_chooser_dialog ()">thunar_show_chooser_dialog</a> <span class="c_punctuation">()</span>
</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ThunarChooserDialog.properties"></a><h2>Properties</h2>
<div class="informaltable"><table class="informaltable" border="0">
<colgroup>
<col width="150px" class="properties_type">
<col width="300px" class="properties_name">
<col width="200px" class="properties_flags">
</colgroup>
<tbody>
<tr>
<td class="property_type">
<a class="link" href="ThunarFile.html" title="ThunarFile"><span class="type">ThunarFile</span></a> *</td>
<td class="property_name"><a class="link" href="ThunarChooserDialog.html#ThunarChooserDialog--file" title="The “file” property">file</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type"><span class="type">gboolean</span></td>
<td class="property_name"><a class="link" href="ThunarChooserDialog.html#ThunarChooserDialog--open" title="The “open” property">open</a></td>
<td class="property_flags">Read / Write / Construct</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="ThunarChooserDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> GInitiallyUnowned
        <span class="lineart">╰──</span> GtkWidget
            <span class="lineart">╰──</span> GtkContainer
                <span class="lineart">╰──</span> GtkBin
                    <span class="lineart">╰──</span> GtkWindow
                        <span class="lineart">╰──</span> GtkDialog
                            <span class="lineart">╰──</span> <a class="link" href="ThunarAbstractDialog.html" title="ThunarAbstractDialog">ThunarAbstractDialog</a>
                                <span class="lineart">╰──</span> ThunarChooserDialog
</pre>
</div>
<div class="refsect1">
<a name="ThunarChooserDialog.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="ThunarChooserDialog.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="thunar-show-chooser-dialog"></a><h3>thunar_show_chooser_dialog ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
thunar_show_chooser_dialog (<em class="parameter"><code><span class="type">gpointer</span> parent</code></em>,
                            <em class="parameter"><code><a class="link" href="ThunarFile.html" title="ThunarFile"><span class="type">ThunarFile</span></a> *file</code></em>,
                            <em class="parameter"><code><span class="type">gboolean</span> open</code></em>,
                            <em class="parameter"><code><span class="type">gboolean</span> preselect_default_checkbox</code></em>);</pre>
<p>Convenience function to display a <a class="link" href="ThunarChooserDialog.html" title="ThunarChooserDialog"><span class="type">ThunarChooserDialog</span></a> with the
given parameters.</p>
<p>If <em class="parameter"><code>parent</code></em>
 is a <span class="type">GtkWidget</span> the chooser dialog will be opened as
modal dialog above the <em class="parameter"><code>parent</code></em>
. Else if <em class="parameter"><code>parent</code></em>
 is a screen (if
<em class="parameter"><code>parent</code></em>
 is <code class="literal">NULL</code> the default screen is used), the dialog won't
be modal and it will simply popup on the specified screen.</p>
<div class="refsect3">
<a name="thunar-show-chooser-dialog.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>the <span class="type">GtkWidget</span> or the <span class="type">GdkScreen</span> on which to open the
dialog. May also be <code class="literal">NULL</code> in which case the default
<span class="type">GdkScreen</span> will be used.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>file</p></td>
<td class="parameter_description"><p>the <a class="link" href="ThunarFile.html" title="ThunarFile"><span class="type">ThunarFile</span></a> for which an application should be chosen.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>open</p></td>
<td class="parameter_description"><p>whether to also open the <em class="parameter"><code>file</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>preselect_default_checkbox</p></td>
<td class="parameter_description"><p>Check the checkbox by default and
set the title "Set Default Application" of chooser dialog box.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="ThunarChooserDialog.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ThunarChooserDialog--file"></a><h3>The <code class="literal">“file”</code> property</h3>
<pre class="programlisting">  “file”                     <a class="link" href="ThunarFile.html" title="ThunarFile"><span class="type">ThunarFile</span></a> *</pre>
<p>file.</p>
<p>Owner: ThunarChooserDialog</p>
<p>Flags: Read / Write</p>
</div>
<hr>
<div class="refsect2">
<a name="ThunarChooserDialog--open"></a><h3>The <code class="literal">“open”</code> property</h3>
<pre class="programlisting">  “open”                     <span class="type">gboolean</span></pre>
<p>open.</p>
<p>Owner: ThunarChooserDialog</p>
<p>Flags: Read / Write / Construct</p>
<p>Default value: FALSE</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.33.1</div>
</body>
</html>